 /*证件类型*/
    function cerTypeState(data,val){
        /*个人*/
        if(val == 1){
            switch (data) {
                case "1":
                    data = "护照"
                    break;
                case "0":
                    data = "身份证"
                    break;
                case "2":
                    data = "军官证"
                    break;
                case "3":
                    data = "士兵证"
                    break;
                case "4":
                    data = "港澳居民来往内地通行证"
                    break;
                case "5":
                    data = "户口本"
                    break;
                case "6":
                    data = "外国护照"
                    break;
                case "7":
                    data = "其它"
                    break;
                case "8":
                    data = "文职证"
                    break;
                case "9":
                    data = "警官证"
                    break;
                case "A":
                    data = "台胞证"
                    break;
                case "":
                    data = ""
                    break;
                case null:
                    data = ""
                    break;
            }
        }else if(val == 0){
            /*机构*/
            switch (data) {
                case "0":
                    data = "组织机构代码证"
                    break;
                case "1":
                    data = "营业执照"
                    break;
                case "2":
                    data = "行政机关"
                    break;
                case "3":
                    data = "社会团体"
                    break;
                case "4":
                    data = "军队"
                    break;
                case "5":
                    data = "武警"
                    break;
                case "6":
                    data = "下属机构（具有主管单位批文号)"
                    break;
                case "7":
                    data = "基金会"
                    break;
                case "8":
                    data = "其它机构"
                    break;
            }
        }
        return data;
    }